package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.AdministratorType;
import org.hxyjs.page.PageInfo;

public interface AdministratorTypeService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<AdministratorType> getAllAdministratorTypes() throws Exception;

    /**
     * 删除学生
     * @param ano
     * @return
     * @throws Exception
     */
    public DTO<AdministratorType> deleteAdministratorTypeByAno(String ano) throws Exception;
    /**
     *  修改学生
     * @param administratorType
     * @return
     */
    public DTO<AdministratorType> updateAdministratorTypeByAno(AdministratorType administratorType)  throws Exception;
    /**
     *  增加学生
     * @param administratorType
     * @return
     */
    public DTO<AdministratorType> addAdministratorType(AdministratorType administratorType)  throws Exception;

    /**
     * 根据主键查询学生
     * @param ano
     * @return
     * @throws Exception
     */
    public DTO<AdministratorType> getAdministratorTypeByAno(String ano) throws Exception;

    /**
     *分页查询
     * @param pageInfo
     * @return
     * @throws Exception
     */
     public DTO<AdministratorType> getAdministratorTypeByPage(PageInfo pageInfo, String cacheId) throws Exception;

     public DTO<AdministratorType> getAdministratorTypeByPage(PageInfo pageInfo) throws Exception;



}
